package com.yuqing.myblogServe.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;

/**
 * @author lyq
 * @date 2023/12/9
 **/

@Data
public class ArticleCommentReply {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String commentId;

    private Long userId;

    private Long replyId;

    @NotEmpty(message = "评论内容不能为空")
    private String replyContent;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
